
package Beans;

import java.util.Date;

/**
 *
 * @author Raed Shomali
 */
public class Poll 
{
    long pollID = 0 ;
    
    String title = "" ;
    
    boolean isOpen = true ;
    
    Date creationDate = new Date() ;

    public long getPollID()
    {
        return pollID;
    }

    public void setPollID( long pollID )
    {
        this.pollID = pollID;
    }
    
    public Date getCreationDate()
    {
        return creationDate;
    }

    public void setCreationDate( Date creationDate )
    {
        this.creationDate = creationDate;
    }

    public boolean isIsOpen()
    {
        return isOpen;
    }

    public void setIsOpen( boolean isOpen )
    {
        this.isOpen = isOpen;
    }

    public String getTitle()
    {
        return title;
    }

    public void setTitle( String title )
    {
        this.title = title;
    }
}
